import request from '@/utils/request'

// 根据学校ID查询班级列表
export function listPageStudent(query) {
  return request({
    url: '/students/page',
    method: 'get',
    params: query
  })
}

// 创建学生-单个
export function addStudent(data) {
  return request({
    url: '/students/create',
    method: 'post',
    data: data
  })
}

// 查询学生信息-单个
export function getStudentInfo() {
  return request({
    url: '/students/page',
    method: 'get',
    params: query
  })
}

// 删除学生信息-单个
export function delStudentById(query) {
  return request({
    url: '/students/delete',
    method: 'delete',
    params: query
  })
}